package com.wo2record.base.exception;

import com.wo2record.base.enumerror.ErrorType;

public class ValidateException extends Exception {
	
	private static final long serialVersionUID = 3095361926490727637L;
	
	private ErrorType errorType;
	
	public ValidateException(ErrorType errorType, String message){
		super(message);
		this.errorType = errorType;
	}
	
	public ErrorType getErrorType(){
		return this.errorType;
	}
}
